<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>

	<body>
		<script>
			var sum = 0;
			var i = 2;
			while(i <= 100) {
				sum = sum + i;
				i = i + 2;
			}
			alert(sum);
		</script>
	</body>

</html>